package com.tj.jinzao.activity;


import android.content.Intent;
import android.widget.TextView;

import com.tj.jinzao.BuildConfig;
import com.tj.jinzao.R;
import com.tj.jinzao.base.BaseActivity;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 关于页面
 * Created by wjy on 2019/1/5.
 */
public class AboutActivity extends BaseActivity {

    @BindView(R.id.tv_version)
    TextView mVersionView;

    @Override
    public int getLayoutResource() {
        return R.layout.activity_about;
    }

    @Override
    protected void setupView() {
        super.setupView();
        mVersionView.setText(BuildConfig.VERSION_NAME);

    }
    @Override
    protected int getLeftButtonResId() {
        return R.mipmap.ic_back;
    }

    @OnClick(R.id.rl_weibo_layout)
    public void weibo() {

    }

    @OnClick(R.id.rl_weixin_layout)
    public void weixin() {

    }

    @OnClick(R.id.rl_version_layout)
    public void updateVersion() {

    }

    @OnClick(R.id.rl_desc_layout)
    public void desc() {
        startActivity(new Intent(this, AboutDescActivity.class));
    }

}
